package com.example.ibsp_demo.pojo.entity.message;

import java.util.Date;

public class SendBack {
        private Integer id;            // 记录ID
        private Integer blogId;        // 被驳回的博客ID
        private Integer adminId;    // 执行驳回的管理员ID
        private String reason;      // 驳回原因
        private Date createTime;    // 驳回时间

    public SendBack() {
    }

    public SendBack(Integer id, Integer blogId, Integer adminId, String reason, Date createTime) {
        this.id = id;
        this.blogId = blogId;
        this.adminId = adminId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBlogId() {
        return blogId;
    }

    public void setBlogId(Integer blogId) {
        this.blogId = blogId;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "SendBack{" +
                "id=" + id +
                ", blogId=" + blogId +
                ", adminId=" + adminId +
                ", reason='" + reason + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
